<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link type="text/css" rel="stylesheet" href="../static/css/style.css">

    <style>



    </style>
</head>
<body>
<div class="jumbotron" style="background">
    <h1 class="text-center">欢迎您</h1>
    <h1 class="text-center" th:text="${stuName}"></h1>
    <p class="text-center">This is a lightweight defense system, can be applied to various occasions of defense, for your defense activities to provide convenience! </p>
</div>
<!--左右-->
<div id="l_r">
</div>

<div id="Middle">
    <div class="col-md-20 column">
        <table class="table table-hover table-striped">
            <thead>
            <tr>
                <th>课程名</th>
                <th>老师</th>
                <th>分数</th>
                <th>抽签结果</th>
                <th>进行抽签</th>
            </tr>
            </thead>
            <tbody>
            <tr th:each="draw:${draws}">
                <td th:text="${draw.get('drawname')}"></td>
                <td th:text="${draw.get('username')}"></td>
                <td th:text="${draw.get('score')}"></td>
                <td th:text="${draw.get('drawres')}"></td>
                <td>
                    <form action="/stuLogin/doStuDraw" method="post">
                        <input type="hidden" name="drawname" th:value="${draw.get('drawname')}">
                        <input type="hidden" name="tmpDrawRes" th:value="${draw.get('drawres')}">
                        <input type="submit" class="btn btn-primary" value="抽签">
                    </form>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</div>




</body>
</html>